@import './report-share.scss';

.page-wrapper-u {
  position: relative;
  background-color: #cc4744;
  height: 100vh;
  background-image: url(../assets/img/yearReport/2020/unit/bg.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: hidden;

  &.is-end {
    background-image: url('/ilink-app-h5-zd/static/img/ilink_1578389376100.jpg');
  }

  &.in-frame {
    height: calc(100vh - 43px);

    .section,
    .section-share .section-inner,
    .img-share {
      height: calc(100vh - 43px);
    }
  }

  .yearReportTitle {
    flex: 1;
  }

  .font30 {
    font-size: 30px;
    font-weight: bold;
  }

  .font16 {
    font-size: 16px;
    ;
    line-height: 32px;
  }

  .font14 {
    font-size: 14px;
    ;
  }

  .font18 {
    font-size: 18px;
  }

  .font20 {
    font-size: 20px;
  }

  .font50 {
    font-size: 50px;
  }

  .font24 {
    font-size: 24px;
    ;
  }

  .text-c {
    text-align: center;
  }

  .text-l {
    text-align: left;
  }

  .text-r {
    text-align: right;
  }

  .colorYellow {
    color: #FFF66A;
    line-height: 28px;
  }

  .yearReport .link-page-nav {
    background-color: #B14A48;
    display: flex;
    align-items: center;
    height: 38px;
  }

  .yearReport .link-page-nav span {
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    text-indent: -45px;
  }

  .yearReport .page-inner {
    transition: transform 0.5s;
  }

  .yearReport .page-content {
    background-color: #D62727;
    height: calc(100% - 43px);
    background: url('/ilink-app-h5-zd/static/img/ilink_1578389238950.jpg') no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
  }

  .slide-page {
    position: relative;
    height: 95vh;
  }

  .page_1 {
    text-align: center;
  }

  .page_1 .startContentBg,
  .page_2 .startContentBg {
    width: 80%;
    margin-top: 40px;
  }

  .page_2 .startContentBg {
    margin-left: 10%;
    margin-top: 0px;
  }

  .startPageBtn {
    position: absolute;
    display: block;
    left: 50%;
    width: 160px;
    margin-left: -80px;
    bottom: 40px;
    animation: jiggle 2s ease-in infinite;
  }

  @keyframes jiggle {

    48%,
    62% {
      transform: scale(1.0, 1.0)
    }

    50% {
      transform: scale(1.1, 0.9)
    }

    56% {
      transform: scale(0.9, 1.1) translate(0, -5px)
    }

    59% {
      transform: scale(1.0, 1.0) translate(0, -3px)
    }
  }

  .page_2_content {
    text-align: left;
    padding: 15px 10%;
  }

  .page_2_content p:nth-child(1),
  .page_2_content p:nth-child(3) {
    font-size: 30px;
    color: #ffffff;
    font-weight: bold;
  }

  .page_2_content p:nth-child(2),
  .page_2_content p:nth-child(4) {
    font-size: 16px;
    color: #ffffff;
  }

  .page_2_content p {
    color: #FFF66A;
    font-size: 14px;
  }

  .page_2_content .page_2_flex {
    text-align: right;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 30px;
    color: #ffffff;
    font-weight: bold;
  }

  .page_2_content p:nth-child(4) {
    text-align: right;
    margin-bottom: 20px;
  }

  .to__led-number {
    display: inline-block;
  }

  .slideIcon {
    animation: slide 1s infinite;
    width: 50px;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    bottom: 40px;
    z-index: 9;
  }

  @keyframes slide {
    0% {
      transform: translate(0px, 0px);
    }

    50% {
      transform: translate(0px, -10px);
    }

    100% {
      transform: translate(0px, 0px);
    }
  }

  /* page3 */
  .page_3,
  .page_4,
  .page_6,
  .page_7,
  .page_8,
  .page_9,
  .page_10,
  .page_11 {
    color: #ffffff;
    padding: 0 10%;
  }

  .page_3_ContentBg {
    width: 80%;
    position: absolute;
    bottom: 100px;
  }

  .flex-start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  /* 柱状图动画 */
  .category {
    animation: fadeInLeft 3s;
  }

  @keyframes fadeInLeft {
    0% {
      opacity: 0;
      transform: translateX(-120px);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .page_6_img {
    position: fixed;
    right: 10px;
    bottom: 90px;
    width: 240px;
    height: 240px;
    z-index: 1;
    pointer-events: none;
  }

  .page_6_img_1 {
    width: 120px;
    margin-top: 60px;
    margin-left: 60px;
    position: absolute;
    z-index: 2;

  }

  .page_6_img_2 {
    width: 240px;
    position: absolute;
    top: 0;
    right: 0;
    animation: turn 4s linear infinite;
  }

  @media screen and (width: 320px) {
    .page_6_img {
      width: 195px;
      height: 195px;
    }

    .page_6_img_1 {
      width: 98px;
      margin-top: 60px;
      margin-left: 60px;
    }

    .page_6_img_2 {
      width: 195px;
      position: absolute;
      top: 0;
      right: 0;
    }

    .font30 {
      font-size: 28px;
      font-weight: bold;
    }

    .font16 {
      font-size: 14px;
      ;
      line-height: 32px;
    }

    .font14 {
      font-size: 12px;
      ;
    }

    .font18 {
      font-size: 16px;
    }

    .font24 {
      font-size: 22px;
    }
  }

  @keyframes turn {
    0% {
      -webkit-transform: rotate(0deg);
    }

    25% {
      -webkit-transform: rotate(90deg);
    }

    50% {
      -webkit-transform: rotate(180deg);
    }

    75% {
      -webkit-transform: rotate(270deg);
    }

    100% {
      -webkit-transform: rotate(360deg);
    }
  }

  .page_7_head {
    position: relative;
    width: 119px;
    margin: 40px auto 10px auto;
  }

  .page_7_head .icon-logo {
    position: absolute;
    top: -35px;
    right: 0;
    width: 55px;
    height: 55px;
  }

  .page_7_head .icon-head {
    width: 119px;
    height: 119px;
    border-radius: 50%;
    border: 1px solid #f34c49;
  }

  .page_8_icon {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
  }

  .page_8_icon div:nth-child(1) {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #93CF70;
    line-height: 64px;
    animation: textOpacity 5s infinite alternate;
    font-size: 24px;
    margin-top: 40px;
  }

  .page_8_icon div:nth-child(2) {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #F6AF13;
    line-height: 44px;
    animation: textOpacity 5s 1s infinite alternate;
    font-size: 16px;
  }

  .page_8_icon div:nth-child(3) {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #F06F6F;
    line-height: 50px;
    animation: textOpacity 5s 2s infinite alternate;
    font-size: 18px;
    margin-top: 30px;
  }

  .page_8_icon div:nth-child(4) {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #619EFF;
    line-height: 34px;
    animation: textOpacity 5s 1s infinite alternate;
    font-size: 12px;
    margin-top: 20px;
  }

  @keyframes textOpacity {
    0% {
      opacity: 0;
    }

    25% {
      opacity: 0.3;
    }

    50% {
      opacity: 0.5;
    }

    75% {
      opacity: 0.8;
    }

    100% {
      opacity: 1;
    }
  }

  .page_9_words {
    position: relative;
    background: #F06665;
    border: 1px solid #FCCD62;
    /* padding-top: 76%; */
    margin-bottom: 25px;
  }

  .page_9_words img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .page_9_words img:nth-child(1) {
    animation: textOpacity 2s infinite alternate;
  }

  .page_9_words img:nth-child(2) {
    animation: textOpacity 2s 2s infinite alternate;
  }

  .page_9_words img:nth-child(3) {
    animation: textOpacity 2s 3s infinite alternate;
  }

  .page_9_words_title {
    font-size: 29px;
    color: #FFF66A;
    font-weight: bold;
    text-align: center;
    padding: 40px 0 10px 0;
  }

  .sharePageBtn {
    position: absolute;
    display: block;
    bottom: 40px;
    /* bottom: constant(safe-area-inset-bottom);  */
    /* bottom: env(safe-area-inset-bottom); */
    left: 50%;
    width: 160px;
    margin-left: -80px;
    animation: jiggle 2s ease-in infinite;
  }

  .page_11_content {
    padding-top: 100px;
  }

  .page_11_title {
    padding: 40px 0;
  }

  .playAudio {
    position: fixed;
    right: 5%;
    top: 40px;
    width: 34px;
    height: 34px;
    z-index: 9;

  }

  .audioPlayStatus {
    animation: animationRotate 6s 1s linear infinite;
  }

  @keyframes animationRotate {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .section {
    position: relative;
    height: 100vh;
    box-sizing: border-box;
    color: #fff;
  }

  .page-inner {
    transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
  }

  .slide-icon {
    animation: slide 1s infinite;
    width: 28px;
    position: absolute;
    left: 50%;
    margin-left: -14px;
    bottom: 50px;
    z-index: 9;
  }

  @keyframes slide {
    0% {
      transform: translate(0px, 0px);
    }

    50% {
      transform: translate(0px, -10px);
    }

    100% {
      transform: translate(0px, 0px);
    }
  }

  .btn-audio {
    position: fixed;
    right: 5%;
    top: 30px;
    width: 34px;
    height: 34px;
    z-index: 9;
  }

  .audio-playing {
    animation: animationRotate 6s 1s linear infinite;
  }

  @keyframes animationRotate {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .press-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffeaae;
    font-size: 14px;
    z-index: 9;
  }

  .section-base {
    padding: 10px 10% 0;
  }

}

@media screen and (max-height: 603px) {
  .page-wrapper-u {
    .section {
      .img-year {
        margin-top: 10px;
      }
    }
  }
}
